package com.market.goods.dao.po;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 活动表
 */
@Table(name = "activity_info")
public class ActivityInfoPO implements Serializable {
    /**
     * 活动id
     */
    private Long id;

    /**
     * 活动名称
     */
    @Column(name = "activity_name")
    private String activityName;

    /**
     * 活动类型
     */
    @Column(name = "activity_type")
    private String activityType;

    /**
     * 活动描述
     */
    @Column(name = "activity_desc")
    private String activityDesc;

    /**
     * 开始时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * ��ȡ�id
     *
     * @return id - �id
     */
    public Long getId() {
        return id;
    }

    /**
     * ���ûid
     *
     * @param id �id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡ�����
     *
     * @return activity_name - �����
     */
    public String getActivityName() {
        return activityName;
    }

    /**
     * ���û����
     *
     * @param activityName �����
     */
    public void setActivityName(String activityName) {
        this.activityName = activityName == null ? null : activityName.trim();
    }

    /**
     * ��ȡ�����
     *
     * @return activity_type - �����
     */
    public String getActivityType() {
        return activityType;
    }

    /**
     * ���û����
     *
     * @param activityType �����
     */
    public void setActivityType(String activityType) {
        this.activityType = activityType == null ? null : activityType.trim();
    }

    /**
     * ��ȡ�����
     *
     * @return activity_desc - �����
     */
    public String getActivityDesc() {
        return activityDesc;
    }

    /**
     * ���û����
     *
     * @param activityDesc �����
     */
    public void setActivityDesc(String activityDesc) {
        this.activityDesc = activityDesc == null ? null : activityDesc.trim();
    }

    /**
     * ��ȡ��ʼʱ��
     *
     * @return start_time - ��ʼʱ��
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * ���ÿ�ʼʱ��
     *
     * @param startTime ��ʼʱ��
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * ��ȡ����ʱ��
     *
     * @return end_time - ����ʱ��
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * ���ý���ʱ��
     *
     * @param endTime ����ʱ��
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * ��ȡ����ʱ��
     *
     * @return create_time - ����ʱ��
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * ���ô���ʱ��
     *
     * @param createTime ����ʱ��
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ActivityInfoPO{" +
                "id=" + id +
                ", activityName='" + activityName + '\'' +
                ", activityType='" + activityType + '\'' +
                ", activityDesc='" + activityDesc + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", createTime=" + createTime +
                '}';
    }
}